package com.southwind.mapper;

import com.southwind.entity.BWorkRecord;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;


public interface BWorkRecordMapper extends BaseMapper<BWorkRecord> {

    @Select({"select u.name from sys_user u inner join b_work_record s on s.uid = u.id where s.id = #{id}"})
    public String getUserNameById(Integer id);

}
